QT       += core gui network charts

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++14

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    page/communitypage.cpp \
    page/datapage.cpp \
    page/dictationdialog.cpp \
    page/postcardwidget.cpp \
    page/userpage.cpp \
    page/vocabwordspage.cpp \
    poco/communitypost.cpp \
    util/localwordmanager.cpp \
    util/logger.cpp \
    util/messagebox.cpp \
    window/loginwindow.cpp \
    window/mainwindow.cpp \
    page/studypage.cpp \
    page/wordpage.cpp \
    util/serverhelper.cpp \
    util/usermanager.cpp \
    poco/user.cpp \
    poco/vocabulary.cpp \
    poco/word.cpp


HEADERS += \
    page/communitypage.h \
    page/datapage.h \
    page/dictationdialog.h \
    page/postcardwidget.h \
    page/userpage.h \
    page/vocabwordspage.h \
    poco/communitypost.h \
    util/localwordmanager.h \
    util/logger.h \
    util/messagebox.h \
    window/loginwindow.h \
    window/mainwindow.h \
    page/studypage.h \
    page/wordpage.h \
    util/serverhelper.h \
    util/usermanager.h \
    poco/user.h \
    poco/vocabulary.h \
    poco/word.h


FORMS += \
    page/communitypage.ui \
    page/dictationdialog.ui \
    page/userpage.ui \
    page/vocabwordspage.ui \
    window/loginwindow.ui \
    window/mainwindow.ui \
    page/studypage.ui \
    page/wordpage.ui \
    page/datapage.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resource.qrc
